//此样式表用于修改全局element组件库默认样式
.el-message {
  min-width: 420px !important;
  height: 56px;
  top: 124px !important;
  background-color: #fff !important;

  i {
    height: 60px;
    line-height: 60px !important;
    position: relative;

    &::before {
      font-size: 16px;
      top: 50%;
      transform: translateY(-50%);
      position: absolute;
    }
  }

  p {
    padding-left: 20px !important;
    color: #3f4f71 !important;
    height: 22px;
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #3f4f71;
    line-height: 22px;
  }
}

.el-pagination {

  span {
    height: 32px!important;
    line-height: 32px!important;
  }

  .el-pagination__total {
    width: 89px;
    text-align: center;
    color: #2E3F64;
    margin-right: 0;
  }

  button {
    height: 32px !important;
    width: 32px;
    padding: 0 !important;
    margin: 0 3px !important;
    border-radius: 4px;
    background-color: #F6F7FB !important;
    color: #9EAAC4!important;

    &:hover {
      color: #9EAAC4 !important;
    }

    &:disabled {
      color: #9EAAC4 !important;
    }
  }

  .el-pager {
    li {
      width: 32px;
      height: 32px;
      line-height: 32px;
      padding: 0;
      margin: 0 3px;
      font-size: 12px;
      font-weight: normal;
      border-radius: 4px;
      background-color: #F6F7FB;
      color: #0D172C;

      &:hover {
        color: #0D172C;
      }

      &.active {
        background-color: #304EEC;
        color: #fff;
      }
    }
  }
  .el-pagination__jump {
    margin-left: 17px;
    color: #2E3F64;

    .el-pagination__editor {
      width: 72px;
      height: 32px;
      padding: 0;
      margin-left: 10px;
      margin-right: 10px;
      .el-input__inner {
        height: 32px;
        border: none;
        background-color: #F9FAFF;
        color: #0D172C;
      }
    }
  }
}
.el-scrollbar{
  .el-select-dropdown__item{
    height: 40px;
    line-height: 40px;
    &:hover{
      background-color: rgba(48,78,236,0.05);
    }
  }
  .el-select-dropdown__item.selected{
    background: linear-gradient(316deg,#4a53ef, #6971fe 100%);
    font-size: 14px;
    font-family: PingFangSC, PingFangSC-Regular;
    font-weight: 400;
    color: #ffffff;
  }
}
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{
  color: #304EEC !important;
}

//多选框 
//多选框禁用样式
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{
  // background-color: #9198a7 !important;
}
//多选框选中
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
  background-color:#304EEC !important;
  border-color: #304EEC !important;
}
.el-checkbox__inner {
  width: 16px !important;
  height: 16px !important;
  
  &::after {
    border-right-width: 2px !important;
    border-bottom-width: 2px !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -60%) rotate(45deg) scaleY(1) !important;
  }
}
.el-checkbox__input.is-disabled .el-checkbox__inner {
  background-color: #edf2fc !important;
  border-color: #DCDFE6 !important;
  cursor: not-allowed;
}

//el-table
.el-table__body-wrapper {
  &::-webkit-scrollbar {
    width: 3px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: #d8dee9;
    border-radius: 2px;
  }
}